package ncut.shumei.service;

import ncut.shumei.dto.UserCreateRequest;
import ncut.shumei.dto.UserDTO;
import ncut.shumei.dto.UserUpdateRequest;
import ncut.shumei.entity.User;

import java.util.List;

public interface UserService {
    User register(UserCreateRequest request);
    List<UserDTO> getUsers(String role, Integer status);
    UserDTO getUser(Integer id);
    UserDTO createUser(UserCreateRequest request);
    UserDTO updateUser(Integer id, UserUpdateRequest request);
    void deleteUser(Integer id);
    void updateUserStatus(Integer id, Integer status);
    void updateLoginTime(Integer id);
} 